package com.uyayo.portal.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

public class CmsCommentVO {
	
	@NotNull(message = "{articleId.null}")
	private Long articleId;
	
	@NotNull(message = "{content.null}")
	@Size(min = 5, max = 5000, message = "{content.size.error}")
	private String content;

	public Long getArticleId() {
		return articleId;
	}

	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
}
